# 课后作业——利用今天所学的datetime模块与if语句做一个课程提醒工具
# 运行程序自动打印出今天有课或没课以及需要上什么课
from datetime import datetime
print("vicky的课表")
import datetime
import time
week = time.strftime("%A")
import time
now = time.strftime("%H:%M")
import time
time_quantum = time.strftime("%p")
d = datetime.date.today()
print("日期：",datetime.date.isoformat(d))
print("星期：",week)
print("时间：",now)
if week in "Monday":
    print("今日课表")
    print("今日无课")
elif week in "Tuesday":
    print("今日课表")
    print("[12:50~14:20]Illustrato软件应用")
    print("[14:30~15:55]体育—足球课")
    print("[18:45~20:55]设计美学")
elif week in "Wednesday":
    print("今日课表")
    print("[08:00~09:30]毛概实践课")
    print("[12:50~14:20]大学英语")
    print("[18:45~20:55]Python语言")
elif week in "Thursday":
    print("今日课表")
    print("[09:45~12:00]毛概课")
    print("[14:30~16:55]网站运营与管理")
    print("[18:45~20:55]API、机器学习与人工智能")
elif week in "Friday":
    print("今日课表")
    print("[08:00~09:30]大学英语")
elif week in "Saturday":
    print("今日课表")
    print("今日无课")
else:
    print("今日课表")
    print("今日无课")
if week in "Monday" and "0:00"<now<"17:00":
    print("目前状态：今天没课，但是下午有用户界面设计，有时间可以去旁听哦")
elif week in "Monday" and "17:00"<now<"21:00":
    print("目前状态：今天晚上有社团的上门不要忘记了哦")
elif week in "Monday" and "21:00" <= now < "23:59":
    print("目前状态：休息一下吧")
elif week in"Tuesday" and "0:00"<now<"12:00":
    print("目前状态：今天上午没课，可以做自己想做的事情啦")
elif week in "Tuesday" and "12:00"<=now<"12:50":
    print("目前状态：准备上Illustrato软件应用课啦")
elif week in "Tuesday" and "12:50"<=now<"14:20":
    print("目前状态：Illustrato软件应用课")
elif week in "Tuesday" and "14:20" <= now < "14:30":
    print("目前状态：准备上足球课啦")
elif week in "Tuesday" and "14:30" <= now < "15:55":
    print("目前状态：足球课")
elif week in "Tuesday" and "15:55" <= now < "18:45":
    print("目前状态：准备上设计美学课啦")
elif week in "Tuesday" and "18:45" <= now < "20:10":
    print("目前状态：设计美学课")
elif week in "Tuesday" and "20:10" <= now < "23:59":
    print("目前状态：休息一下吧")
elif week in"Wednesday" and "08:00"<now<"09:30":
    print("目前状态：毛概实践课")
elif week in "Wednesday" and "09:30"<=now<"12:50":
    print("目前状态：准备上中午的大英课啦")
elif week in "Wednesday" and "12:50"<=now<"14:20":
    print("目前状态：大学英语课")
elif week in "Wednesday" and "14:20" <= now < "18:45":
    print("目前状态：准备上晚上的python课啦")
elif week in "Wednesday" and "18:45" <= now < "20:55":
    print("目前状态：python语言课")
elif week in "Wednesday" and "20:55" <= now < "23:59":
    print("目前状态：休息一下吧")
elif week in "Thursday" and "00:00" <= now < "09:45":
    print("目前状态：准备上毛概课啦")
elif week in "Thursday" and "09:45" <= now < "12:00":
    print("目前状态：毛概课")
elif week in "Thursday" and "12:00" <= now < "14:20":
    print("目前状态：准备上网站运营与管理课啦")
elif week in "Thursday" and "14:20" <= now < "16:50":
    print("目前状态：网站运营与管理课")
elif week in "Thursday" and "16:50" <= now < "18:45":
    print("目前状态：准备上API、机器学习与人工智能课啦")
elif week in "Thursday" and "18:45" <= now < "20:55":
    print("目前状态：API、机器学习与人工智能课")
elif week in "Thursday" and "20:55" <= now < "23:59":
    print("目前状态：休息一下吧")
elif week in "Friday" and "00:00" <= now < "08:00":
    print("目前状态：准备上大英课啦")
elif week in "Friday" and "08:00" <= now < "09:30":
    print("目前状态：大学英语课")
else:
    print("目前状态：现在没课哦，可以做自己想做的事情啦")